package com.example.superoa.model.mappers;

import com.alibaba.fastjson.JSONArray;
import com.example.superoa.model.pojos.Contract;
import com.example.superoa.model.vo.ContractVo;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ContractMapper {
		/*合同查询*/
		public List<ContractVo> contractAll();
		/*分页*/
		public JSONArray selectstaff();
		
		/*获取合同查看里面的详情数据*/
		public Contract contreactById(int contreact_id);
		
		/*根据条件查询*/
		public JSONArray contractselect(@Param("contract_TypeName")String contract_TypeName);

		/*根据名字查id*/
		public Contract conselectId(String Contract_TypeName);
		
		//签订合同
		public void contractstate(@Param("Contreact_qdstate") String contreact_qdstate,@Param("Contreact_id")int contreact_id);
}
